package edu.uoc.tdp.pac3.beans;

import java.io.Serializable;
import java.sql.Date;

public class ResourceRequest implements Serializable {
	private static final long serialVersionUID = 1L;
	private int idResource;
	private int idRoom;
	private Date requestDate;
	private int quantity;
	private Date acceptanceDate;
	
	public ResourceRequest(){
		super();
	}
	
	public ResourceRequest(int idRes, int idRoom, Date reqDate, int quantity, Date acceptDate){
		this.idResource = idRes;
		this.idRoom = idRoom;
		this.requestDate = reqDate;
		this.quantity = quantity;
		this.acceptanceDate = acceptDate;
	}

	public int getIdResource() {
		return idResource;
	}

	public void setIdResource(int idResource) {
		this.idResource = idResource;
	}

	public int getIdRoom() {
		return idRoom;
	}

	public void setIdRoom(int idRoom) {
		this.idRoom = idRoom;
	}

	public Date getRequestDate() {
		return requestDate;
	}

	public void setRequestDate(Date requestDate) {
		this.requestDate = requestDate;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public Date getAcceptanceDate() {
		return acceptanceDate;
	}

	public void setAcceptanceDate(Date acceptanceDate) {
		this.acceptanceDate = acceptanceDate;
	}
	
}

